package com.ymy.ioc.java.beans;

/**
 * 描述的 POJO 类
 *
 * @author Ringo
 * @date 2021/8/20 23:40
 */
public class Person {

    private String name;  // property

    private Integer age;

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
